﻿namespace Asistente.Model.Representation
{
    public class Report : ReadOnlyPanel
    {
        public override Panel Clone()
        {

            Report newReportPanel = new Report();
            newReportPanel.Name = this.Name;
            newReportPanel.DataGroup = this.DataGroup;
            foreach (Control ctrl in this.Controls)
            {
                newReportPanel.Controls.Add(ctrl);
            }   

            return newReportPanel;
        }
    }
}
